import { createRouter, createWebHashHistory } from 'vue-router'
import Day from '@/views/Day'
import Month from '@/views/Month'
import Year from '@/views/Year'

const routes = [
  {
    path:'/',
    name:'day',
    component: Day

  },
  {
    path:'/month',
    name:'month',
    component: Month

  },
  {
    path:'/year',
    name:'year',
    component: Year

  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
